package example_10.mapdemo;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Scanner;

public class Demo_02 {

    public static List<Map<String,Object>> books =
            new ArrayList<>();
    public static void main(String[] args) {
        List<Map<String,Object>> books =
                new ArrayList<>();
        Scanner in = new Scanner(System.in);
        System.out.println("图书管理");
        System.out.println("1.添加图书");
        System.out.println("2.查询图书");
        int n = in.nextInt();
        switch (n){
            case 1:
//                tianjiatushu();
                break;
            case 2:
//                chaxuntushu();
                break;
        }

    }
    private static void chaxuntushu(){

    }
    private static void tianjiatushu(){
        System.out.println("请输入图书信息：");
//            Map<>
    }
}
